package com.xyazm.wms.mapstruct;

import com.xyazm.wms.domain.entity.DeliveryOrderDO;
import com.xyazm.wms.domain.entity.DeliveryOrderItemDO;
import com.xyazm.wms.domain.param.PickGoodsParam;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 仓储系统api 转换类
 * @author xuyou
 * 2022/7/31 0031 22:22
*/
@Mapper
public interface WmsApiMapstruct {

    WmsApiMapstruct INSTANCE = Mappers.getMapper(WmsApiMapstruct.class);

    DeliveryOrderDO convertDeliveryOrder(PickGoodsParam param);

    List<DeliveryOrderItemDO> convertDeliveryOrderItem(List<PickGoodsParam.OrderItemParam> param);




}
